﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MCP.BL;
using MCP.Data.Client;

namespace MCP.Model.Repositories.Interfaces
{
    /// <summary>
    /// Includes all operations with Checks, Items, Categories.
    /// </summary>
    public interface IMoneyRepository
    {
        /// <summary>
        /// Gets all checks for current user.
        /// </summary>
        /// <returns></returns>
        OperationResult<List<Check>> GetChecks();

        /// <summary>
        /// Adds new check to DB.
        /// </summary>
        /// <param name="check"></param>
        /// <returns></returns>
        OperationResult AddNewCheck(Check check);
    }
}
